Page({
  data: {
    url: '',
    title: ''
  },
  onLoad(options) {
    this.setData({
      url: decodeURIComponent(options.url),
      title: decodeURIComponent(options.title)
    });
    wx.setNavigationBarTitle({
      title: this.data.title || '新闻详情'
    });
  }
});
